
import {axios,get,post} from "./ajax"

export const http =  {
    // 注册
    register:(body)=>post("/api/user",body), 

    // 查询当前用户是否存在  登录   phone
    checkPhone:(params)=>get("/api/user",params),

    // 发送验证码
    captchatsend:(params)=>get('http://47.104.209.44:3333/captcha/sent',params),

    // 校验验证码 
    captchatverify:(params)=>get('http://47.104.209.44:3333/captcha/verify',params),

   

}